public class Test6 {
    public static void main(String[] args) {
        int i = 3, j = 9;
        Max(i,j);
        double a = 5.6, b = 3.3, c = 1.1;
        Max(a,b,c);
    }

    public static void Max(int i,int j){
        if (i > j){
            System.out.println(i);
        }else System.out.println(j);
    }

    public static void Max(double a,double b,double c){
        double tmp = 0.0;
        if (a > b){
            tmp = a;
        } else {
            tmp = b;
        }
        if (tmp > c){
            System.out.println(tmp);
        }else System.out.println(c);
    }
}


